- stream
- Stream that contains the image(SOP Instance) to be referenced.
- frameNumbers
- An array which represents the frame numbers inside the image (SOP Instance) to which the presentation state will be applied.
- framesCount
- Value that represents the number of frames being set.
Visual Basic (Declaration) | |
---|---|
Overloads Public Sub AddPresentationStateImageReference( _ ByVal stream As Stream, _ ByVal frameNumbers() As Integer, _ ByVal framesCount As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DicomDataSet Dim stream As Stream Dim frameNumbers() As Integer Dim framesCount As Integer instance.AddPresentationStateImageReference(stream, frameNumbers, framesCount) |
C# | |
---|---|
public void AddPresentationStateImageReference( Stream stream, int[] frameNumbers, int framesCount ) |
C++/CLI | |
---|---|
public: void AddPresentationStateImageReference( Stream^ stream, array<int>^ frameNumbers, int framesCount ) |
Parameters
- stream
- Stream that contains the image(SOP Instance) to be referenced.
- frameNumbers
- An array which represents the frame numbers inside the image (SOP Instance) to which the presentation state will be applied.
- framesCount
- Value that represents the number of frames being set.
For an example, refer to DicomDataSet.SetPresentationStateInformation.
This method will add a new item into the "Referenced Image Sequence" (0008,1140) under the "Presentation State Module", by passing the file name of the image (SOP Instance) to be referenced.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)
Reference
DicomDataSet ClassDicomDataSet Members
Overload List
DicomDataSet.SetPresentationStateInformation
DicomDataSet.GetPresentationStateInformation
DicomDataSet.AddPresentationStateImageReference(DicomDataSet, int[], int)
DicomDataSet.RemovePresentationStateImageReference
DicomDataSet.RemoveAllPresentationStateImageReferences
DicomDataSet.GetPresentationStateImageReferenceSOPInstance
DicomDataSet.GetPresentationStateImageReferenceCount
DicomDataSet.FindFirstPresentationStateReferencedSeriesItem
DicomDataSet.FindNextPresentationStateReferencedSeriesItem
DicomDataSet.GetPresentationStateImageReference